package com.ext.aic.beans.box;

import java.io.Serializable;

import io.objectbox.annotation.Entity;
import io.objectbox.annotation.Id;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NotificationMessage implements Serializable {

    @Id(assignable = true)
    private long id;

    private String user;

    //用户session id
    private String sessionId;

    private String message;

    //消息接收时间(毫秒)
    private long receiveTime;

    //0-未处理，1-已处理
    private int status;

    //ocr识别是否处理完成,0-处理中，1-已完成
    private int finish;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }
}
